package com.intellagric.mapper;

import com.intellagric.pojo.AgtProduct;
import com.intellagric.pojo.AgtProductExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AgtProductMapper {
    long countByExample(AgtProductExample example);

    int deleteByExample(AgtProductExample example);

    int deleteByPrimaryKey(String id);

    int insert(AgtProduct record);

    int insertSelective(AgtProduct record);

    List<AgtProduct> selectByExample(AgtProductExample example);

    AgtProduct selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") AgtProduct record, @Param("example") AgtProductExample example);

    int updateByExample(@Param("record") AgtProduct record, @Param("example") AgtProductExample example);

    int updateByPrimaryKeySelective(AgtProduct record);

    int updateByPrimaryKey(AgtProduct record);
}